<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./font_2884414_o0pjv0om3zi/iconfont.css">
    <style>
        .renwu {
            width: 35px;
            height: 719px;
            background-color: #383838;
            padding-top: 270px;
            position: fixed;
            top: 0;
            right: 0;
            color: white;
            text-align: center;
        }

        .renwu span {
            display: block;
            font-size: 20px;
            margin: 20px 0;
        }

        .renwu .heng {
            width: 35px;
            height: 2px;
            background-color: #fff;
            margin: 10px 0;
        }

        .renwu a {
            display: block;
            color: #fff;
            letter-spacing: 6px;
            font-size: 12px;
        }

        .renwu h4 {
            font-weight: 400;
            font-size: 15px;
        }
    </style>
</head>

<body>
    <div class="renwu">
        <span class="iconfont">&#xe654;</span>
        <div class="heng"></div>
        <span class="iconfont">&#xe600;</span>
        <a href="javascript:;">购物车</a>
        <div class="heng"></div>
        <span class="iconfont">&#xeaf1;</span>
        <div class="heng"></div>
        <div class="gotop">
            <span class="iconfont">&#xe643;</span>
            <h4>TOP</h4>
        </div>

    </div>
</body>

</html>
<script>
    let Ydiv=document.querySelector('.gotop');
    Ydiv.onclick=function(){
        $(document).scrollTop(0)
    }
</script>